<?php

return array(
	array(
		'title' => 'Dashboard',
		'active' => Request::active()->controller == 'Controller_Admin' && Request::active()->action == 'index',
		'url' => 'admin'
	),
	array(
		'title' => 'Configs',
		'active' => Request::active()->controller == 'Controller_Admin_Config',
		'url' => 'admin/config'
	),
	array(
		'title' => 'Items',
		'active' => in_array(Request::active()->controller, array(
				'Controller_Admin_Country', 'Controller_Admin_Zone', 'Controller_Admin_Communication', 
				'Controller_Admin_Expertise', 'Controller_Admin_Gender', 'Controller_Admin_Preference', 
				'Controller_Admin_Qualification', 'Controller_Admin_Security_Question', 'Controller_Admin_Service', 
				'Controller_Admin_User_Role'
			)),
		'items' => array(
			array(
				'title' => 'Countries',
				'url' => 'admin/country',
				'active' => Request::active()->controller == 'country'
			),
			array(
				'title' => 'Zones',
				'url' => 'admin/zone',
				'active' => Request::active()->controller == 'zone'
			),
			array(
				'title' => 'Communications',
				'url' => 'admin/communication',
				'active' => Request::active()->controller == 'communication'
			),
			array(
				'title' => 'Expertises',
				'url' => 'admin/expertise',
				'active' => Request::active()->controller == 'expertise'
			),
			array(
				'title' => 'Genders',
				'url' => 'admin/gender',
				'active' => Request::active()->controller == 'gender'
			),
			array(
				'title' => 'Preference',
				'url' => 'admin/preference',
				'active' => Request::active()->controller == 'preference'
			),
			array(
				'title' => 'Qualification',
				'url' => 'admin/qualification',
				'active' => Request::active()->controller == 'qualification'
			),
			array(
				'title' => 'Qualification Type',
				'url' => 'admin/qualification/type',
				'active' => Request::active()->controller == 'qualification_type'
			),
			array(
				'title' => 'Security Questions',
				'url' => 'admin/security_question',
				'active' => Request::active()->controller == 'security_question'
			),
			array(
				'title' => 'Services',
				'url' => 'admin/service',
				'active' => Request::active()->controller == 'service'
			),
			array(
				'title' => 'User Roles',
				'url' => 'admin/user/role',
				'active' => Request::active()->controller == 'role'
			)
		)
	),
	array(
		'title' => 'Users',
		'active' => Request::active()->controller == 'user',
		'url' => 'admin/user'
	)
);